//
//  NYVipPayModel.m
//  NiuWaJiaoYu
//
//  Created by MinLison on 2018/1/9.
//  Copyright © 2018年 niuwaketang. All rights reserved.
//

#import "NYVipPayModel.h"
#import "NYMyVipBuyCell.h"
#import "PayManager.h"
@implementation NYVipPayModel
- (Class)cellClass
{
        return [NYMyVipBuyCell class];
}
+ (instancetype)payModelWithName:(NSString *)name itunesID:(NSString *)itunesID price:(NSString *)price
{
        NYVipPayModel *model = [[self alloc] init];
        model.name = name;
        model.itunesID = itunesID;
        model.price = price;
        return model;
}
- (BOOL)isBuyed
{
        return [[PayManager manager] isBuy:self.goodId];
}
@end
